Skip to content

LH data in permanent storage#11

Merged
ArisMorgens merged 4 commits into
mainfrom
Aris/lh_write_config
Jun 25, 2026
Merged

LH data in permanent storage#11
ArisMorgens merged 4 commits into
mainfrom
Aris/lh_write_config

Conversation

@ArisMorgens

Copy link
Copy Markdown
Member

cfcli lh config write only wrote geometry and calibration data to RAM. It never sent the persist-data packet, so the uploaded lighthouse configuration was silently lost on the next reboot.

Also, the write only touched the basestation IDs present in the input YAML file, leaving any previously-uploaded basestation data not in the file stale and still marked valid.

@ArisMorgens ArisMorgens requested a review from ataffanel June 24, 2026 11:47

@ataffanel ataffanel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! A couple of error management that might need tightening.

Comment thread src/modules/lighthouse.rs
Comment thread src/modules/lighthouse.rs Outdated
Comment thread src/modules/lighthouse.rs

@ataffanel ataffanel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates!

I think one thing should still be fixed in this PR: the docs now contradict the new behavior of config write (see inline comment).

Otherwise, this is good to go for me!

@ArisMorgens ArisMorgens merged commit 33959bb into main Jun 25, 2026
1 check passed
@ArisMorgens ArisMorgens deleted the Aris/lh_write_config branch June 25, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants